package com.iqiju.guagua.photo.wx.mini.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("系统模板")
public class TemplateVO {

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(required = true,notes = "主键ID")
    private Long id;

    @ApiModelProperty(required = true,notes = "模板名")
    private String name;

    @ApiModelProperty(required = true,notes = "用户昵称(分享时，使用此字段)")
    private String nickName;

    @ApiModelProperty(required = true,notes = "背景图片链接")
    private String backImgUrl;

    @ApiModelProperty(required = true,notes = "前景图片链接")
    private String frontImgUrl;

    @ApiModelProperty(required = true,notes = "默认头像")
    private String headUrl;

    @ApiModelProperty(required = true,notes = "动效类型")
    private String moveType;

    @ApiModelProperty(required = true,notes = "背景音乐链接")
    private String music;

    @ApiModelProperty(required = true,notes = "动效图片列表")
    private List<String> moveImgUrls = new ArrayList<>();

    @ApiModelProperty(required = true,notes = "素材图片列表")
    private List<String> mateImgUrls = new ArrayList<>();

    @ApiModelProperty(required = true,notes = "文字")
    private List<String> words = new ArrayList<>();

    @ApiModelProperty(required = true,notes = "第二页文字")
    private List<String> secondWords = new ArrayList<>();

    @ApiModelProperty(required = true,notes = "分享文字")
    private String shareWords;


    @ApiModelProperty(required = true,notes = "模板跳转对象")
    private TemplateUrlVO templateUrlVO = new TemplateUrlVO();

    @ApiModelProperty(required = true,notes = "当前模板号")
    private String no;


}
